
export default {
  path: 'course',
  redirect: '/skill/course/index',
  component: () => import('@/views/skill/layout'),
  meta: { title: 'course' },
  children: [
    {
      path: 'index',
      component: () => import('@/views/skill/course/pages/index'),
      name: 'courseIndex',
      meta: { title: 'courseMain', noCache: true }
    },
    {
      path: 'record',
      component: () => import('@/views/skill/course/pages/record'),
      name: 'CourseRecord',
      meta: { title: 'courseRecord', noCache: true }
    },
    {
      path: 'create',
      component: () => import('@/views/skill/course/pages/create'),
      name: 'courseCreate',
      hidden: true,
      meta: { title: 'course', noCache: true, activeMenu: '/skill/course/index' }
    },
    {
      path: 'exercises',
      component: () => import('@/views/skill/course/pages/exercises'),
      name: 'courseExercises',
      hidden: true,
      meta: { title: 'course', noCache: true, activeMenu: '/skill/course/index' }
    },
    {
      path: 'exercisesManage',
      component: () => import('@/views/skill/course/pages/exercisesManage'),
      name: 'exercisesManage',
      hidden: true,
      meta: { title: 'course', noCache: true, activeMenu: '/skill/course/index' }
    },
    {
      path: 'statistics',
      component: () => import('@/views/skill/course/pages/statistics'),
      name: 'coursestatistics',
      meta: { title: 'coursestatistics' }
    }
  ]
}
